var i;
Object.defineProperty(exports, "__esModule", {
  value: true
});
var _decorator = cc._decorator;
var _ccclass = _decorator.ccclass;
var _property = _decorator.property;
var _menu = _decorator.menu;
var _def_UIFuDong = function (e) {
  function _creator() {
    var t = null !== e && e.apply(this, arguments) || this;
    t.time = .5;
    return t;
  }
  __extends(_creator, e);
  _creator.prototype.onLoad = function () {};
  _creator.prototype.start = function () {
    this.playScale();
  };
  _creator.prototype.playScale = function () {
    var e = cc.tween(this.node).to(this.time, {
      y: this.node.y + 10
    }).to(this.time, {
      y: this.node.y
    });
    cc.tween(this.node).repeatForever(e).start();
  };
  __decorate([_property()], _creator.prototype, "time", undefined);
  return __decorate([_ccclass, _menu("UI组件/UIFuDong")], _creator);
}(cc.Component);
exports.default = _def_UIFuDong;